<template>
  <div class="wrap">
    <div v-for="i in 10">{{ i }}</div>
  </div>
  <div class="wrap2">
    <div class="one">1</div>
    <div class="two">2</div>
  </div>
</template>
<script setup></script>
<style scoped>
.wrap {
  width: 50%;
  height: 500px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: yellowgreen;
  /* flex-direction:row; */
  align-items: center;
  justify-content: space-between;
  align-content: space-between;
  margin-bottom: 20px;
}
.wrap div {
  width: 100px;
  height: 100px;
  background-color: rgb(93, 107, 234);
  display: flex;
  justify-content: center;
  align-items: center;
}
.wrap2 {
  width: 300px;
  height: 300px;
  background-color: rgb(218, 215, 90);
  display: flex;
  gap: 30px;
}
.wrap2 div {
  width: 300px;
  height: 100px;
  background-color: rgb(93, 107, 234);
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex-wrap: wrap; */
}
/* .one {
  flex: 1;
}
.two {
  flex-shrink: 4;
} */
</style>
